package com.qf.dao;

import com.qf.entity.Emp;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface EmpDao extends JpaRepository<Emp,String> {

    public Emp  findByEmpName(String name);
    public List<Emp> findByDept_DeptName(String name);

}
